package com.xxx.vo;

import com.xxx.result.PageList;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.HashMap;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class AggrPageList<T> extends PageList<T> {
    // 聚合结果
    private HashMap<String, List<MyBucket>> aggrMap ;

    public AggrPageList(Long total, List<T> rows, HashMap<String, List<MyBucket>> aggrMap) {
        super(total, rows);
        this.aggrMap = aggrMap;
    }
}
